package com.ysd.lis.service.bac;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.bac.BacWorkFlow;

import java.util.List;

/**
 * <p>
 * 流程设定主表 服务类
 * </p>
 *
 * @author cfz
 * @since 2024-04-09
 */
public interface BacWorkFlowService extends IService<BacWorkFlow> {
    Result findBacWorkFlowList(BacWorkFlow bacWorkFlow);

    List<BacWorkFlow> findBacWorkFlowArray(BacWorkFlow bacWorkFlow);

    Result addBacWorkFlow(BacWorkFlow bacWorkFlow);

    Result deleteBacWorkFlow(BacWorkFlow bacWorkFlow);

    Result updateBacWorkFlow(BacWorkFlow bacWorkFlow);

    Result selectProsettingNode(String settingId);

    /*根据编号获取一条记录*/
    BacWorkFlow findOneByNo(String no);
}
